package com.wkbb.sports.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.wkbb.common.base.BaseMapper;
import com.wkbb.common.dto.wx.AccountDto;
import com.wkbb.common.dto.wx.AccountInfoDto;
import com.wkbb.sports.model.Account;

public interface AccountMapper extends BaseMapper<Account> {

    Account getAccontByMpOrMini(Map<String, Object> params);

    List<AccountInfoDto> getAccountDtoPageList(Map<String, Object> params);

    List<Account> getAccountList(Map<String, Object> params);

    List<AccountDto> getAccountDtoList(Map<String, Object> params);

    void deleteById(@Param("orgId") Long orgId);

    List<AccountInfoDto> getAccountInfoList(List<Long> list);

    AccountInfoDto getAccountInfo(Long accountId);
}